package com.cloudpolice.weixin.feignInterface;

import com.cloudpolice.weixin.feignInterface.hystric.PersonInterFaceHystric;
import lh.model.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：梁昊，后端工程师：flyman5，前端工程师：孙耀
 * @create 2020-02-21 18:34
 * @function
 * @editLog
 */
@Repository
@FeignClient(value = "USER-MUCON/personController", fallback = PersonInterFaceHystric.class)
public interface PersonInterFace {
    @PostMapping("/getHavePersonByMobileAndCode")
    ResultVO getHavePersonByMobileAndCode(@RequestParam(value = "mobile", required = false) String mobile
            , @RequestParam(value = "idCard", required = false) String idCard
            , @RequestParam(value = "passPort", required = false) String passPort
            , @RequestParam(value = "license", required = false) String license);
}
